package com.luoyuanxiangvip.core.entity.support;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 公共实体类
 * </p>
 *
 * @author luoyuanxiang <p>luoyuanxiangvip.com</p>
 * @since 2019/5/26 15:40
 */
@Data
@Accessors(chain = true)
public class BaseEntity implements Serializable {

    private static final long serialVersionUID = -1707017237055979442L;
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "添加时间")
    private Date createTime = new Date();

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
